package com.labichaoka.chaoka.ui.home.fragment.my.record;

import android.content.Context;
import android.graphics.Typeface;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.labichaoka.chaoka.R;
import com.labichaoka.chaoka.entity.OrderListResponse;
import com.labichaoka.chaoka.entity.WithdrawRecordInfoResponse;

import java.util.List;


/**
 * Created by ruan on 2018/7/26.
 */

public class WithdrawRecordAdapter extends BaseQuickAdapter<WithdrawRecordInfoResponse.withdrawRecordVo,BaseViewHolder> {

    public WithdrawRecordAdapter(List<WithdrawRecordInfoResponse.withdrawRecordVo> data) {
        super(R.layout.item_withdraw_record,data);
    }


    @Override
    protected void convert(BaseViewHolder helper, WithdrawRecordInfoResponse.withdrawRecordVo item) {
        helper.setText(R.id.title,item.getAmount());
        helper.setText(R.id.total,item.getWithdrawTime());
        helper.setText(R.id.status,item.getStatusDec());
    }

    @Override
    public void onViewRecycled(BaseViewHolder holder) {
        super.onViewRecycled(holder);
    }
}



